/*
 Navicat Premium Data Transfer

 Source Server         : aliyun_2h4g_mongo
 Source Server Type    : MongoDB
 Source Server Version : 80001 (8.0.1)
 Source Host           : 120.76.157.148:27017
 Source Schema         : oracle

 Target Server Type    : MongoDB
 Target Server Version : 80001 (8.0.1)
 File Encoding         : 65001

 Date: 05/06/2025 16:33:18
*/


// ----------------------------
// Collection structure for AiHistory
// ----------------------------
db.getCollection("AiHistory").drop();
db.createCollection("AiHistory");

// ----------------------------
// Documents of AiHistory
// ----------------------------
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e3b066aa64d4d64db5cf3"),
    uid: "1000003",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是文章或书籍的开头部分，介绍主题背景、目的和研究范围，为读者提供整体框架和研究方向。"
        },
        {
            role: "user",
            content: "啊啊啊"
        },
        {
            role: "assistant",
            content: "看起来你输入的内容“啊啊啊”并没有与<Data></Data>标记中的内容直接相关。根据你的指示，如果问题与<Data></Data>标记中的内容无关，我将拒绝回答本次问题。如果你有其他具体问题或需要帮助，请随时提出。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e3b6b6aa64d4d64db5cf4"),
    uid: "1000003",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是文章或书籍的开头部分，介绍主题背景、目的和研究范围，为读者提供整体框架和研究方向。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e45d9f626a1380027c780"),
    uid: "1000006",
    topic_id: "42",
    messages: [ ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e4651f626a1380027c781"),
    uid: "1000006",
    messages: [ ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e509af626a1380027c782"),
    uid: "1000006",
    topic_id: "2",
    messages: [ ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e70d1dfbbd0668b96f913"),
    uid: "1000006",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是书籍或论文的开头部分，用于介绍主题背景、研究目的和意义，概述主要内容和结构，为读者提供阅读框架。"
        },
        {
            role: "user",
            content: "aaa"
        },
        {
            role: "assistant",
            content: "由于您的问题“\"aaa\"”并没有与`<Data></Data>`标记中的内容直接相关，根据指示，如果问题与`<Data></Data>`标记中的内容无关，我将拒绝回答本次问题。如果您有其他具体问题或需要帮助，请随时提出。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e7363dfbbd0668b96f914"),
    uid: "1000006",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是书籍或论文的开头部分，用于介绍主题背景、研究目的和意义，概述主要内容和结构，为读者提供阅读框架。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676e73dbdfbbd0668b96f915"),
    uid: "1000006",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是书籍或论文的开头部分，用于介绍主题背景、研究目的和意义，概述主要内容和结构，为读者提供阅读框架。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fa42d14183f712b7dd38f"),
    uid: "1000003",
    topic_id: "66",
    messages: [
        {
            role: "assistant",
            content: "总线是计算机系统中连接不同硬件组件的通信通道，负责传输数据、地址和控制信号，确保各部件间高效协同工作。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fa6fc14183f712b7dd390"),
    uid: "1000003",
    topic_id: "66",
    messages: [
        {
            role: "assistant",
            content: "总线是计算机系统中连接不同硬件组件的通信通道，负责传输数据、地址和控制信号，确保各部件间高效协同工作。"
        },
        {
            role: "user",
            content: "总线应该怎么去学啊，好多好难"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fba9814183f712b7dd391"),
    uid: "1000003",
    topic_id: "66",
    messages: [
        {
            role: "assistant",
            content: "总线是计算机系统中连接不同硬件组件的通信通道，负责传输数据、地址和控制信号，确保各部件间高效协同工作。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fbc9014183f712b7dd392"),
    uid: "1000003",
    topic_id: "66",
    messages: [
        {
            role: "assistant",
            content: "总线是计算机系统中连接不同硬件组件的通信通道，负责传输数据、地址和控制信号，确保各部件间高效协同工作。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fbcf914183f712b7dd393"),
    uid: "1000003",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是文章或书籍的开头部分，用于介绍主题、背景信息和研究目的，为读者提供必要的上下文，帮助理解后续内容。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("676fc28814183f712b7dd395"),
    uid: "1000003",
    topic_id: "1",
    messages: [
        {
            role: "assistant",
            content: "绪论是文章或书籍的开头部分，用于介绍主题、背景信息和研究目的，为读者提供必要的上下文，帮助理解后续内容。"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("67c7d6f4084b5e31f694b67e"),
    uid: "1000003",
    messages: [ ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("67c9646839c8532d56c3aa83"),
    uid: "1",
    messages: [ ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("67c99befc6a90241bc56e287"),
    uid: "1",
    topic_id: "1",
    messages: [
        {
            role: "user",
            content: "你好"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("67ca55ed4341de0bbc8a024a"),
    uid: "1",
    topic_id: "1",
    messages: [
        {
            role: "user",
            content: "你好"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！😊"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);
db.getCollection("AiHistory").insert([ {
    _id: ObjectId("67ca59ef4341de0bbc8a024d"),
    uid: "1",
    topic_id: "2",
    messages: [
        {
            role: "user",
            content: "你好"
        },
        {
            role: "system",
            content: "服务异常: Connection reset"
        }
    ],
    _class: "com.org.oracle.mongodb.entity.AiHistory"
} ]);

// ----------------------------
// Collection structure for ai_note
// ----------------------------
db.getCollection("ai_note").drop();
db.createCollection("ai_note");

// ----------------------------
// Documents of ai_note
// ----------------------------
db.getCollection("ai_note").insert([ {
    _id: "4",
    name: "她只是我的妹妹",
    uid: "1000001",
    topic_id: NumberLong("0"),
    img: [
        "https://www.bilibili.com/video/BV1UT42167xb/?spm_id_from=333.337.search-card.all.click"
    ],
    word: "```markdown\n# 多重中断的特点\n\n## 优先级\n- **不同优先级**：中断请求有不同的优先级。\n- **响应顺序**：根据优先级高低决定CPU响应的顺序。\n\n## 中断嵌套\n- **触发更高优先级中断**：在处理一个中断的过程中，可能触发另一个更高优先级的中断。\n- **中断服务程序嵌套执行**：导致中断服务程序的嵌套执行。\n\n## 中断响应周期\n- **多个响应周期**：CPU在处理中断时，可能会进入多个中断响应周期。\n- **每个周期处理一个请求**：每个周期处理一个中断请求。\n```",
    data_set: {
        _id: "1",
        uid: "1000001",
        topic_id: "1",
        messages: [
            {
                role: "user",
                content: "多重中断的特点：\n优先级：\n中断请求有不同的优先级，根据优先级高低决定CPU响应的顺序。\n中断嵌套：在处理一个中断的过程中，可能触发另一个更高优先级的中断，导致中断服务程序的嵌套执行。\n中断响应周期：CPU在处理中断时，可能会进入多个中断响应周期，每个周期处理一个中断请求。"
            }
        ],
        _class: "com.org.oracle.sub.entity.DataSet"
    },
    create_time: ISODate("1970-01-01T05:24:30.667Z"),
    update_time: ISODate("1970-01-01T15:04:58.565Z"),
    _class: "com.org.oracle.mongodb.entity.AINote"
} ]);
db.getCollection("ai_note").insert([ {
    _id: "5",
    name: "霸王别姬",
    uid: "1000001",
    topic_id: NumberLong("0"),
    img: [
        "https://www.bilibili.com/video/BV1UT42167xb/?spm_id_from=333.337.search-card.all.click"
    ],
    word: "```markdown\n# 多重中断的特点\n\n## 优先级\n- **中断请求优先级**：中断请求有不同的优先级。\n- **CPU响应顺序**：根据优先级高低决定CPU响应的顺序。\n\n## 中断嵌套\n- **中断触发**：在处理一个中断的过程中，可能触发另一个更高优先级的中断。\n- **中断服务程序嵌套**：导致中断服务程序的嵌套执行。\n\n## 中断响应周期\n- **多个中断响应周期**：CPU在处理中断时，可能会进入多个中断响应周期。\n- **每个周期处理**：每个周期处理一个中断请求。\n```",
    data_set: {
        _id: "2",
        uid: "1000001",
        topic_id: "1",
        messages: [
            {
                role: "user",
                content: "多重中断的特点：\n优先级：\n中断请求有不同的优先级，根据优先级高低决定CPU响应的顺序。\n中断嵌套：在处理一个中断的过程中，可能触发另一个更高优先级的中断，导致中断服务程序的嵌套执行。\n中断响应周期：CPU在处理中断时，可能会进入多个中断响应周期，每个周期处理一个中断请求。"
            }
        ],
        _class: "com.org.oracle.sub.entity.DataSet"
    },
    create_time: ISODate("1970-01-01T03:23:49.441Z"),
    update_time: ISODate("1970-01-01T03:23:49.441Z"),
    _class: "com.org.oracle.mongodb.entity.AINote"
} ]);

// ----------------------------
// Collection structure for chapters
// ----------------------------
db.getCollection("chapters").drop();
db.createCollection("chapters");

// ----------------------------
// Documents of chapters
// ----------------------------
db.getCollection("chapters").insert([ {
    _id: ObjectId("67356bffed834eaf0e0d792d"),
    id: NumberInt("3"),
    testing_points: [
        {
            ordinal: "01",
            name: "绪论",
            summary: "基本概念、基本原理和基本方法"
        },
        {
            ordinal: "02",
            name: "算法的基本概念、特性及设计要求",
            summary: "算法的定义、特性、设计要求"
        },
        {
            ordinal: "03",
            name: "算法的时间复杂度和空间复杂度",
            summary: "时间复杂度和空间复杂度的概念和计算方法"
        },
        {
            ordinal: "04",
            name: "线性表",
            summary: "线性表的定义和基本操作"
        },
        {
            ordinal: "05",
            name: "顺序表",
            summary: "顺序表的定义和操作"
        },
        {
            ordinal: "06",
            name: "单链表、双链表、循环链表",
            summary: "单链表、双链表、循环链表的定义及其操作"
        },
        {
            ordinal: "07",
            name: "顺序表和链表的比较",
            summary: "顺序表和链表的优缺点比较"
        },
        {
            ordinal: "08",
            name: "栈和队列",
            summary: "栈和队列的基本概念"
        },
        {
            ordinal: "09",
            name: "栈和队列的存储结构",
            summary: "栈和队列的顺序存储结构和链式存储结构"
        },
        {
            ordinal: "10",
            name: "多维数组的存储",
            summary: "多维数组的存储方式"
        },
        {
            ordinal: "11",
            name: "特殊矩阵的压缩存储",
            summary: "特殊矩阵的存储方法"
        },
        {
            ordinal: "12",
            name: "栈、队列和数组的应用",
            summary: "栈、队列和数组在实际问题中的应用"
        },
        {
            ordinal: "13",
            name: "树与二叉树",
            summary: "树的基本概念"
        },
        {
            ordinal: "14",
            name: "二叉树的定义、性质、遍历",
            summary: "二叉树的定义、性质、遍历方法"
        },
        {
            ordinal: "15",
            name: "线索二叉树",
            summary: "线索二叉树的基本概念和构造"
        },
        {
            ordinal: "16",
            name: "树、森林与二叉树的转换",
            summary: "树、森林与二叉树之间的转换方法"
        },
        {
            ordinal: "17",
            name: "树与二叉树的应用",
            summary: "树与二叉树的应用，如哈夫曼树和哈夫曼编码、并查集"
        },
        {
            ordinal: "18",
            name: "图",
            summary: "图的基本概念"
        },
        {
            ordinal: "19",
            name: "图的存储及基本操作",
            summary: "图的存储结构及基本操作"
        },
        {
            ordinal: "20",
            name: "图的遍历",
            summary: "图的遍历方法，包括深度优先搜索和广度优先搜索"
        },
        {
            ordinal: "21",
            name: "图的基本应用",
            summary: "图的基本应用，如最小生成树、最短路径、拓扑排序、关键路径"
        },
        {
            ordinal: "22",
            name: "查找",
            summary: "查找的基本概念"
        },
        {
            ordinal: "23",
            name: "顺序查找法",
            summary: "顺序查找法的原理和应用"
        },
        {
            ordinal: "24",
            name: "分块查找法",
            summary: "分块查找法的原理和应用"
        },
        {
            ordinal: "25",
            name: "折半查找法",
            summary: "折半查找法的原理和应用"
        },
        {
            ordinal: "26",
            name: "B树及其基本操作",
            summary: "B树的定义、性质和基本操作"
        },
        {
            ordinal: "27",
            name: "散列表（Hash）",
            summary: "散列表的基本原理和应用"
        },
        {
            ordinal: "28",
            name: "排序",
            summary: "排序的基本概念"
        },
        {
            ordinal: "29",
            name: "插入排序",
            summary: "插入排序的原理和实现"
        },
        {
            ordinal: "30",
            name: "气泡排序",
            summary: "气泡排序的原理和实现"
        },
        {
            ordinal: "31",
            name: "简单选择排序",
            summary: "简单选择排序的原理和实现"
        },
        {
            ordinal: "32",
            name: "希尔排序",
            summary: "希尔排序的原理和实现"
        },
        {
            ordinal: "33",
            name: "快速排序",
            summary: "快速排序的原理和实现"
        },
        {
            ordinal: "34",
            name: "堆排序",
            summary: "堆排序的原理和实现"
        },
        {
            ordinal: "35",
            name: "二路归并排序",
            summary: "二路归并排序的原理和实现"
        },
        {
            ordinal: "36",
            name: "基数排序",
            summary: "基数排序的原理和实现"
        },
        {
            ordinal: "37",
            name: "外部排序",
            summary: "外部排序的原理和实现"
        },
        {
            ordinal: "38",
            name: "排序算法的分析与应用",
            summary: "排序算法的分析和在实际问题中的应用"
        }
    ],
    circle_id: "3"
} ]);
db.getCollection("chapters").insert([ {
    _id: ObjectId("67356bffed834eaf0e0d792e"),
    id: NumberInt("1"),
    testing_points: [
        {
            ordinal: "01",
            name: "计算机发展历程",
            summary: "概述计算机从诞生至今的演变过程，包括各代计算机的特点和代表性技术。"
        },
        {
            ordinal: "02",
            name: "计算机系统层次结构",
            summary: "介绍计算机系统的多级层次结构，包括硬件、操作系统、应用程序等不同层次的功能和交互。"
        },
        {
            ordinal: "03",
            name: "计算机性能指标",
            summary: "分析计算机性能的衡量标准，如时钟频率、吞吐量、响应时间等。"
        },
        {
            ordinal: "04",
            name: "数据的表示和运算",
            summary: "探讨数据在计算机中的表示方法，包括二进制、ASCII码等，以及基本的算术和逻辑运算。"
        },
        {
            ordinal: "05",
            name: "定点数的表示和运算",
            summary: "详细说明定点数的表示方式，包括整数和小数的二进制表示，以及相关的运算规则。"
        },
        {
            ordinal: "06",
            name: "浮点数的表示和运算",
            summary: "解释浮点数的表示方法，如IEEE标准，以及浮点数的运算原理和精度问题。"
        },
        {
            ordinal: "07",
            name: "运算方法和运算电路",
            summary: "分析不同的算术运算方法和实现这些运算的电路设计。"
        },
        {
            ordinal: "08",
            name: "存储器层次结构",
            summary: "描述存储器的层次化结构，包括寄存器、缓存、主存和辅助存储器的作用和特点。"
        },
        {
            ordinal: "09",
            name: "层次化存储器的基本结构",
            summary: "深入探讨存储器层次结构中各层的组织方式和数据流动。"
        },
        {
            ordinal: "10",
            name: "半导体随机存取存储器",
            summary: "介绍半导体RAM的工作原理和分类，包括SRAM和DRAM。"
        },
        {
            ordinal: "11",
            name: "主存储器",
            summary: "讲解主存储器的构成、工作原理以及与CPU的交互。"
        },
        {
            ordinal: "12",
            name: "外部存储器",
            summary: "分析外部存储器如硬盘、固态硬盘等的存储原理和性能特点。"
        },
        {
            ordinal: "13",
            name: "高速缓冲存储器(Cache)",
            summary: "讨论Cache的工作原理，包括Cache的组织、替换策略和对性能的影响。"
        },
        {
            ordinal: "14",
            name: "虚拟存储器",
            summary: "解释虚拟存储器的概念，以及它如何通过内存管理单元(MMU)实现地址转换。"
        },
        {
            ordinal: "15",
            name: "指令系统的基本概念",
            summary: "概述指令系统的基本组成，包括指令格式、操作码和操作数。"
        },
        {
            ordinal: "16",
            name: "指令格式",
            summary: "详细描述不同类型指令的格式，如RISC和CISC指令集的特点。"
        },
        {
            ordinal: "17",
            name: "寻址方式",
            summary: "介绍各种寻址方式，包括直接寻址、间接寻址、基址寻址等。"
        },
        {
            ordinal: "18",
            name: "数据的对齐和大/小端存放方式",
            summary: "讨论数据在内存中的对齐方式和字节序问题，包括大端和小端模式。"
        },
        {
            ordinal: "19",
            name: "CISC 和 RISC 的基本概念",
            summary: "对比复杂指令集计算机(CISC)和精简指令集计算机(RISC)的设计哲学和性能特点。"
        },
        {
            ordinal: "20",
            name: "高级语言程序与机器级代码之间的对应",
            summary: "分析高级语言编写的程序如何被编译成机器级代码，并执行。"
        },
        {
            ordinal: "21",
            name: "中央处理器(CPU)",
            summary: "讲解CPU的结构和功能，包括指令执行过程、数据通路和控制器。"
        },
        {
            ordinal: "22",
            name: "指令执行过程",
            summary: "描述CPU执行一条指令的整个过程，包括取指、译码、执行、访存和写回。"
        },
        {
            ordinal: "23",
            name: "数据通路的功能和基本结构",
            summary: "分析数据通路在指令执行中的作用，以及其基本组成和数据流动。"
        },
        {
            ordinal: "24",
            name: "控制器的功能和工作原理",
            summary: "讨论控制器如何控制CPU的操作，包括硬布线和微程序控制方式。"
        },
        {
            ordinal: "25",
            name: "异常和中断机制",
            summary: "解释异常和中断的概念，以及它们在操作系统和CPU中的处理方式。"
        },
        {
            ordinal: "26",
            name: "指令流水线",
            summary: "讨论指令流水线的工作原理和优化CPU性能的方法。"
        },
        {
            ordinal: "27",
            name: "多处理器基本概念",
            summary: "介绍多处理器系统的基本概念，包括对称多处理(SMP)和非对称多处理(AMP)。"
        },
        {
            ordinal: "28",
            name: "总线和输入输出系统",
            summary: "讲解总线的概念、分类和功能，以及输入输出系统的组成和工作原理。"
        },
        {
            ordinal: "29",
            name: "I/O 接口(I/O 控制器)",
            summary: "分析I/O接口的功能和设计，包括各种I/O控制器的作用。"
        },
        {
            ordinal: "30",
            name: "I/O 方式",
            summary: "讨论不同的I/O传输方式，如轮询、中断驱动和直接内存访问(DMA)。"
        }
    ],
    circle_id: "1"
} ]);
db.getCollection("chapters").insert([ {
    _id: ObjectId("67356bffed834eaf0e0d792f"),
    id: NumberInt("4"),
    testing_points: [
        {
            ordinal: "01",
            name: "标准化工作及相关组织",
            summary: "了解国际标准化组织(ISO)、国际电信联盟(ITU)、电气和电子工程师协会(IEEE)等在计算机网络领域的标准化工作。"
        },
        {
            ordinal: "02",
            name: "速率相关的性能指标",
            summary: "掌握速率、带宽、吞吐量、延迟、时延带宽积等性能指标的定义和计算方法。"
        },
        {
            ordinal: "03",
            name: "分层结构、协议、接口、服务",
            summary: "理解OSI参考模型和TCP/IP模型的分层结构，以及各层之间的协议、接口和服务。"
        },
        {
            ordinal: "04",
            name: "数据传输率计算",
            summary: "掌握数据传输率的计算方法，包括比特率和波特率的转换。"
        },
        {
            ordinal: "05",
            name: "信号的编码与调制",
            summary: "了解信号编码和调制的基本原理，包括模拟信号和数字信号的编码与调制技术。"
        },
        {
            ordinal: "06",
            name: "信道划分介质访问控制",
            summary: "掌握信道划分技术，如频分多路复用(FDM)、时分多路复用(TDM)、波分多路复用(WDM)等。"
        },
        {
            ordinal: "07",
            name: "随机访问介质访问控制",
            summary: "了解随机访问介质访问控制协议，如ALOHA、CSMA/CD等。"
        },
        {
            ordinal: "08",
            name: "介质访问控制协议",
            summary: "掌握以太网的介质访问控制协议，包括CSMA/CD和CSMA/CA。"
        },
        {
            ordinal: "09",
            name: "扩展以太网：网桥、交换机",
            summary: "了解网桥和交换机的工作原理及其在扩展以太网中的应用。"
        },
        {
            ordinal: "10",
            name: "子网划分和子网掩码",
            summary: "掌握子网划分的基本概念和子网掩码的计算方法。"
        },
        {
            ordinal: "11",
            name: "无分类编址 CIDR",
            summary: "理解无分类编址CIDR的概念和作用，以及如何进行路由聚合。"
        },
        {
            ordinal: "12",
            name: "路由选择协议",
            summary: "掌握内部网关协议(IGP)和外部网关协议(EGP)的工作原理，如RIP、OSPF、BGP等。"
        },
        {
            ordinal: "13",
            name: "端口号、TCP/UDP协议",
            summary: "了解端口号的作用和TCP、UDP协议的特点及其在网络中的应用。"
        },
        {
            ordinal: "14",
            name: "可靠传输、流量控制、拥塞控制",
            summary: "掌握TCP协议的可靠传输机制、流量控制和拥塞控制方法。"
        },
        {
            ordinal: "15",
            name: "连接管理",
            summary: "了解TCP连接的建立和释放过程，包括三次握手和四次挥手。"
        },
        {
            ordinal: "16",
            name: "域名系统 DNS",
            summary: "掌握DNS的工作原理和域名解析过程。"
        },
        {
            ordinal: "17",
            name: "文件传输协议 FTP",
            summary: "了解FTP协议的工作原理和文件传输过程。"
        },
        {
            ordinal: "18",
            name: "万维网 WWW 和 HTTP 协议",
            summary: "掌握HTTP协议的工作原理和Web页面的请求与响应过程。"
        },
        {
            ordinal: "19",
            name: "电子邮件系统",
            summary: "了解电子邮件系统的工作原理，包括SMTP、POP3、IMAP等协议。"
        },
        {
            ordinal: "20",
            name: "动态主机配置协议 DHCP",
            summary: "掌握DHCP协议的工作原理和IP地址的自动配置过程。"
        },
        {
            ordinal: "21",
            name: "网络安全",
            summary: "了解网络安全的基本概念和常见的安全威胁。"
        },
        {
            ordinal: "22",
            name: "网络攻击的常见方式",
            summary: "掌握网络攻击的常见类型和防御策略。"
        },
        {
            ordinal: "23",
            name: "对称密码体制和公钥密码体制",
            summary: "了解对称密码体制和公钥密码体制的基本原理及其在网络安全中的应用。"
        },
        {
            ordinal: "24",
            name: "数字签名与保密通信",
            summary: "掌握数字签名和保密通信的实现机制。"
        },
        {
            ordinal: "25",
            name: "秘钥分配",
            summary: "了解秘钥分配的基本原理和常用的秘钥分配协议。"
        },
        {
            ordinal: "26",
            name: "无线局域网",
            summary: "了解无线局域网的基本概念和组成。"
        },
        {
            ordinal: "27",
            name: "无线局域网的组成和分类",
            summary: "掌握无线局域网的组成、分类和特点。"
        },
        {
            ordinal: "28",
            name: "IEEE 802.11 标准",
            summary: "了解IEEE 802.11标准及其在无线局域网中的应用。"
        }
    ],
    circle_id: "4"
} ]);
db.getCollection("chapters").insert([ {
    _id: ObjectId("67356bffed834eaf0e0d7930"),
    id: NumberInt("2"),
    testing_points: [
        {
            ordinal: "01",
            name: "基本概念、特征、分类",
            summary: "介绍操作系统的基本概念、特征和分类。"
        },
        {
            ordinal: "02",
            name: "主要功能",
            summary: "概述操作系统的主要功能。"
        },
        {
            ordinal: "03",
            name: "发展演化过程，典型操作系统",
            summary: "探讨操作系统的发展演化过程和典型的操作系统案例。"
        },
        {
            ordinal: "04",
            name: "结构设计，典型的操作系统结构",
            summary: "分析操作系统的结构设计和典型的操作系统结构。"
        },
        {
            ordinal: "05",
            name: "操作系统运行机制",
            summary: "解释操作系统的运行机制。"
        },
        {
            ordinal: "06",
            name: "内核态与用户态",
            summary: "讨论内核态与用户态的概念及其区别。"
        },
        {
            ordinal: "07",
            name: "中断与异常",
            summary: "解释中断与异常的概念及其在操作系统中的作用。"
        },
        {
            ordinal: "08",
            name: "系统调用接口",
            summary: "描述系统调用接口的功能和重要性。"
        },
        {
            ordinal: "09",
            name: "存储系统",
            summary: "介绍存储系统的组成和工作原理。"
        },
        {
            ordinal: "10",
            name: "I/O系统",
            summary: "探讨输入/输出系统的结构和功能。"
        },
        {
            ordinal: "11",
            name: "时钟（Clock）",
            summary: "解释时钟在操作系统中的作用和重要性。"
        },
        {
            ordinal: "12",
            name: "进程线程模型",
            summary: "分析进程和线程的模型及其在操作系统中的应用。"
        },
        {
            ordinal: "13",
            name: "并发环境与多道程序设计",
            summary: "讨论并发环境下的多道程序设计问题。"
        },
        {
            ordinal: "14",
            name: "进程的基本概念，进程控制块（PCB）",
            summary: "介绍进程的基本概念和进程控制块（PCB）的作用。"
        },
        {
            ordinal: "15",
            name: "进程状态及状态转换",
            summary: "解释进程的不同状态及其状态转换。"
        },
        {
            ordinal: "16",
            name: "进程控制：创建、撤销、阻塞、唤醒",
            summary: "描述进程控制的基本操作，包括创建、撤销、阻塞和唤醒。"
        },
        {
            ordinal: "17",
            name: "线程的基本概念，线程的实现机制",
            summary: "介绍线程的基本概念和线程实现机制。"
        },
        {
            ordinal: "18",
            name: "进程的同步与互斥：信号量及PV操作，管程",
            summary: "探讨进程同步与互斥的机制，包括信号量、PV操作和管程。"
        },
        {
            ordinal: "19",
            name: "进程间通信",
            summary: "解释进程间通信的机制和方法。"
        },
        {
            ordinal: "20",
            name: "处理机调度",
            summary: "讨论处理机调度的算法和策略。"
        },
        {
            ordinal: "21",
            name: "存储管理方案",
            summary: "介绍不同的存储管理方案及其特点。"
        },
        {
            ordinal: "22",
            name: "存储管理的基本概念，存储管理的基本任务",
            summary: "解释存储管理的基本概念和基本任务。"
        },
        {
            ordinal: "23",
            name: "分区存储管理方案",
            summary: "探讨分区存储管理方案的工作原理和应用。"
        },
        {
            ordinal: "24",
            name: "覆盖技术与交换技术",
            summary: "介绍覆盖技术和交换技术在存储管理中的应用。"
        },
        {
            ordinal: "25",
            name: "虚拟页式存储管理方案",
            summary: "分析虚拟页式存储管理方案的工作原理和优势。"
        },
        {
            ordinal: "26",
            name: "文件系统设计与实现技术",
            summary: "讨论文件系统的设计与实现技术。"
        },
        {
            ordinal: "27",
            name: "文件的基本概念、文件逻辑结构、文件的物理结构和存取方式",
            summary: "介绍文件的基本概念、逻辑结构、物理结构和存取方式。"
        },
        {
            ordinal: "28",
            name: "文件目录的基本概念，文件目录的实现",
            summary: "解释文件目录的基本概念和实现方法。"
        },
        {
            ordinal: "29",
            name: "文件的操作，目录的操作",
            summary: "描述文件和目录的操作过程。"
        },
        {
            ordinal: "30",
            name: "磁盘空间的管理",
            summary: "探讨磁盘空间的管理策略和方法。"
        },
        {
            ordinal: "31",
            name: "文件系统的可靠性和安全性",
            summary: "讨论文件系统的可靠性和安全性问题。"
        },
        {
            ordinal: "32",
            name: "文件系统的性能问题",
            summary: "分析文件系统的性能问题及其解决方案。"
        },
        {
            ordinal: "33",
            name: "I/O设备管理",
            summary: "介绍I/O设备管理的基本概念和方法。"
        },
        {
            ordinal: "34",
            name: "设备与设备分类",
            summary: "讨论设备的种类和分类。"
        },
        {
            ordinal: "35",
            name: "I/O硬件组成",
            summary: "介绍I/O系统的硬件组成。"
        },
        {
            ordinal: "36",
            name: "I/O软件的特点及结构",
            summary: "探讨I/O软件的特点和结构。"
        },
        {
            ordinal: "37",
            name: "典型技术：通道技术，缓冲技术，SPOOLing技术",
            summary: "分析通道技术、缓冲技术和SPOOLing技术在I/O系统中的应用。"
        },
        {
            ordinal: "38",
            name: "I/O性能问题及解决方案",
            summary: "讨论I/O性能问题及其解决方案。"
        },
        {
            ordinal: "39",
            name: "死锁",
            summary: "探讨死锁的概念、成因和解决方法。"
        },
        {
            ordinal: "40",
            name: "基本概念：死锁，活锁，饥饿",
            summary: "介绍死锁、活锁和饥饿的基本概念。"
        },
        {
            ordinal: "41",
            name: "死锁预防策略",
            summary: "讨论预防死锁的策略。"
        },
        {
            ordinal: "42",
            name: "死锁避免策略",
            summary: "探讨避免死锁的策略。"
        },
        {
            ordinal: "43",
            name: "死锁检测与解除",
            summary: "介绍死锁检测和解除的方法。"
        },
        {
            ordinal: "44",
            name: "资源分配图",
            summary: "解释资源分配图的概念和在死锁分析中的应用。"
        }
    ],
    circle_id: "2"
} ]);

// ----------------------------
// Collection structure for circle
// ----------------------------
db.getCollection("circle").drop();
db.createCollection("circle");

// ----------------------------
// Documents of circle
// ----------------------------
db.getCollection("circle").insert([ {
    _id: "66caefeeb018527ac0fc54e3",
    avatar: "https://gd-hbimg.huaban.com/7372cd325e17fa8a6dade1fdd913d0f68934dc5c28fe-9rfD0q_fw1200webp",
    introduce: "🌐 操作系统 🖥️\n\n欢迎探索操作系统的奥秘，加入我们的知识圈，开启你的计算机考研之旅！🚀\n\n📚 数据宝库：我们为你准备了丰富的学习资料库，包括上岸学长的详细知识笔记、知名教学up主的直观思维导图，以及官方考纲考点的精准提炼。总数据集超过60G+，是你考研路上的得力助手。📊\n\n🎯 精准练习：根据考纲设计的对点练习题，让你的复习更加有的放矢。参与学习任务打榜赛，与圈内高手一较高下，让你的每一步都走得更加坚实。🏋️‍♂️\n\n🏆 共同进步：在这里，你将遇到许多志同道合的学习者。我们互相帮助，分享彼此的经验和心得，互相鼓励，共同在操作系统的知识海洋中乘风破浪。🌊\n\n🤖 AI辅助：话题AI专注于操作系统领域，使用知识圈共享的知识库为你提供精准的关联回答，让学习更加高效。🔍\n\n🛠️ 工具集成：我们还为你准备了流程图一键生成、思维导图生成、笔记生成等实用小工具，让你的学习更加得心应手。🔧\n\n加入我们，一起深入操作系统的核心，掌握计算机的灵魂，让操作系统成为你实现梦想的有力翅膀！🦅",
    ai_key: "fastgpt-q5nhA2d1dNlJVoT2LxxCsVf7PCMgosk0zVXbGaPPWkKZraGZdIovoT2Mg",
    tag: NumberLong("3"),
    circle_id: "3",
    name: "操作系统"
} ]);
db.getCollection("circle").insert([ {
    _id: "66caf07bb018527ac0fc54e6",
    avatar: "https://gd-hbimg.huaban.com/454567fdb7b3c31610b3621f53597f17cfa1ff54298a-Gyf3et_fw1200webp",
    introduce: "🌟 数据结构知识圈介绍 🌐\n\n📚 数据集支撑：我们的知识圈拥有海量的数据集，为你的考研之路提供坚实的数据支撑。📊\n\n考纲考点：详尽的考纲考点，让你对考试内容了如指掌。\n学长笔记：上岸学长的宝贵知识笔记，带你领略成功者的足迹。\n思维导图：知名教学up主的思维导图，帮你构建清晰的知识框架。\n考纲考点提炼：官方的考纲考点精细提炼，让你的学习更加高效。\n数据集大小：总数据集高达60G+，内容丰富，资料齐全。\n🏆 学习活动：加入我们，你将参与到各种学习活动中，包括：\n\n对点练习题：针对性的练习题，让你在实践中提升。\n学习任务打榜赛：通过竞赛激发你的学习热情，一步步走向巅峰。\n🤝 互助与分享：在这里，你不是一个人在战斗。\n\n互相帮助：圈子成员之间互相帮助，共同进步。\n分享经验：分享你的学习经验，同时也从他人那里获取宝贵的建议。\n互相鼓励：在困难时刻，我们互相鼓励，共同克服。\n🤖 话题AI：我们的话题AI专注于数据结构领域，为你提供专业的服务。\n\n知识库关联回答：使用知识圈共享的知识库，为你的问题提供精准的答案。\n小工具集成：流程图一键生成、思维导图生成、笔记生成等工具，让你的学习更加便捷。\n🚀 加入我们的数据结构知识圈，让我们一起在数据的海洋中遨游，攀登知识的高峰！🌉📈📖",
    ai_key: "fastgpt-q5nhA2d1dNlJVoT2LxxCsVf7PCMgosk0zVXbGaPPWkKZraGZdIovoT2Mg",
    circle_id: "4",
    name: "数据结构与算法",
    tag: NumberLong("4")
} ]);
db.getCollection("circle").insert([ {
    _id: "66caf07bb018527ac0fc54e7",
    avatar: "https://gd-hbimg.huaban.com/bf188eea9730f1ea9ef30d6d786ce318626976e229ad-z4LFJ3_fw1200webp",
    introduce: "🎓 计算机组成原理 💾\n\n欢迎来到计算机组成原理的知识圈，这里是一个充满数据和智慧的宝库，专为计算机考研的你量身打造！🌟\n\n📚 数据集支撑：我们拥有丰富的学习资源，包括上岸学长的珍贵笔记、知名教学up主的思维导图，以及官方考纲考点的精细提炼。总数据集高达60G+，为你的考研之路提供坚实的数据支撑。📈\n\n🏋️ 实战演练：加入我们，你将获得根据考纲设计的对点练习题，参与学习任务打榜赛，与众多学习者一起切磋技艺。跟着圈子的步骤，你将逐步攀登学习的高峰，直至巅峰。🏆\n\n🤝 互助共进：在这里，你会遇到许多志同道合的伙伴。我们互相帮助，分享经验，互相鼓励，共同在计算机组成原理的海洋中乘风破浪。🚀\n\n🤖 AI助力：话题AI将使用知识圈共享的知识库进行关联回答，专注于该领域，为你提供精准的信息和解答。\n\n🛠️ 工具集成：我们还为你准备了流程图一键生成、思维导图生成、笔记生成等实用小工具，让你的学习更加高效。\n\n加入我们，一起探索计算机的奥秘，让计算机组成原理成为你实现梦想的坚实基石！🌈",
    ai_key: "fastgpt-q5nhA2d1dNlJVoT2LxxCsVf7PCMgosk0zVXbGaPPWkKZraGZdIovoT2Mg",
    circle_id: "1",
    name: "计算机组成原理",
    tag: NumberLong("1")
} ]);
db.getCollection("circle").insert([ {
    _id: "66caf07bb018527ac0fc54e8",
    avatar: "https://gd-hbimg.huaban.com/0491601c08266374177bb953d3c31b776bfe56713532-IgMcDo_fw1200webp",
    introduce: "🌐 计算机网络考研知识圈 🚀\n\n🎯 数据集支撑：\n\n📚 上岸学长笔记：深入理解，实战经验，带你飞速提升！\n🗺️ 教学UP主导图：清晰思维，逻辑清晰，让你一目了然！\n📊 官方考纲考点：精细提炼，精准把握，让你考试无忧！\n📈 学习活动：\n\n📝 对点练习题：针对性强，巩固基础，让你步步为营！\n🏆 学习任务打榜赛：激发斗志，挑战自我，助你攀登高峰！\n🤝 互助社区：\n\n👥 互相帮助：分享经验，共同进步，我们是一个团队！\n💪 互相鼓励：正能量满满，让你的学习之路不再孤单！\n📖 数据集详情：\n\n📁 总数据集：高达60G+，内容丰富，资料全面！\n🔍 AI关联回答：智能AI，使用知识库，为你提供精准答案！\n🛠️ 实用工具集成：\n\n📊 流程图生成：一键操作，快速生成，让你的逻辑更清晰！\n🗺️ 思维导图：结构化思维，帮助你构建知识网络！\n📝 笔记生成：整理要点，记录精华，让你的复习更高效！\n🌟 加入我们，一起在计算机网络的海洋中遨游，共同迎接考研的挑战！🚀🌟",
    ai_key: "fastgpt-q5nhA2d1dNlJVoT2LxxCsVf7PCMgosk0zVXbGaPPWkKZraGZdIovoT2Mg",
    circle_id: "2",
    name: "计算机网络",
    tag: NumberLong("2")
} ]);

// ----------------------------
// Collection structure for deepseek_chat_records
// ----------------------------
db.getCollection("deepseek_chat_records").drop();
db.createCollection("deepseek_chat_records");

// ----------------------------
// Documents of deepseek_chat_records
// ----------------------------
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1ad757076822174d8cb4c"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "你好"
        },
        {
            role: "assistant",
            content: "！"
        },
        {
            role: "assistant",
            content: "很高兴"
        },
        {
            role: "assistant",
            content: "见到"
        },
        {
            role: "assistant",
            content: "你"
        },
        {
            role: "assistant",
            content: "，"
        },
        {
            role: "assistant",
            content: "有什么"
        },
        {
            role: "assistant",
            content: "我可以"
        },
        {
            role: "assistant",
            content: "帮忙"
        },
        {
            role: "assistant",
            content: "的吗"
        },
        {
            role: "assistant",
            content: "？"
        },
        {
            role: "assistant",
            content: "无论是"
        },
        {
            role: "assistant",
            content: "问题"
        },
        {
            role: "assistant",
            content: "、"
        },
        {
            role: "assistant",
            content: "建议"
        },
        {
            role: "assistant",
            content: "还是"
        },
        {
            role: "assistant",
            content: "闲聊"
        },
        {
            role: "assistant",
            content: "，"
        },
        {
            role: "assistant",
            content: "我都"
        },
        {
            role: "assistant",
            content: "在这儿"
        },
        {
            role: "assistant",
            content: "呢"
        },
        {
            role: "assistant",
            content: "！"
        },
        {
            role: "assistant",
            content: "😊"
        }
    ],
    created_at: ISODate("2025-02-28T12:35:01.634Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1adf87076822174d8cb4d"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "您好"
        },
        {
            role: "assistant",
            content: "！"
        },
        {
            role: "assistant",
            content: "很高兴"
        },
        {
            role: "assistant",
            content: "为您"
        },
        {
            role: "assistant",
            content: "提供服务"
        },
        {
            role: "assistant",
            content: "。"
        },
        {
            role: "assistant",
            content: "您"
        },
        {
            role: "assistant",
            content: "有什么"
        },
        {
            role: "assistant",
            content: "问题"
        },
        {
            role: "assistant",
            content: "或"
        },
        {
            role: "assistant",
            content: "需要"
        },
        {
            role: "assistant",
            content: "帮助"
        },
        {
            role: "assistant",
            content: "的地方"
        },
        {
            role: "assistant",
            content: "吗"
        },
        {
            role: "assistant",
            content: "？"
        }
    ],
    created_at: ISODate("2025-02-28T12:37:12.276Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1bdc8c0e8026a8ae1a61a"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-02-28T13:44:40.653Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1bf74145d494a7c7bed7b"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-02-28T13:51:48.168Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1bfae51a77300ed8188f8"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-02-28T13:52:46.787Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c1bfe80126452de9590824"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-02-28T13:53:44.422Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c2ab9b63ca391b2986821d"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-01T06:39:23.894Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c2bcf2e0fd656318f52f75"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-01T07:53:22.322Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c2c15ab0b88d6c67f62f2f"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-01T08:12:10.726Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c2c191dc872d1737127fe9"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-01T08:13:05.106Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c417d1e85af84368e71523"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！是谁创造了你。"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-02T08:33:21.221Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c41a2ec688c000a82c59e8"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "您好！很高兴为您提供服务。请问有什么可以帮助您的吗？"
        }
    ],
    created_at: ISODate("2025-03-02T08:43:26.629Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c43b2c241af873c48be993"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！ 😊"
        }
    ],
    created_at: ISODate("2025-03-02T11:04:12.697Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c44ae3bb0c350a1f758b60"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！ 😊"
        }
    ],
    created_at: ISODate("2025-03-02T12:11:14.997Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c44e12d49e9809e2ecee2c"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？"
        }
    ],
    created_at: ISODate("2025-03-02T12:24:50.201Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c80a30edb81e2a69fa5343"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！你是哪家公司研发的！"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T08:24:16.407Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c80a74edb81e2a69fa5344"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你好！你是哪家公司研发的！"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T08:25:24.517Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c813a0edb81e2a69fa5345"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        }
    ],
    created_at: ISODate("2025-03-05T09:04:32.689Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c8141cedb81e2a69fa5346"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:06:36.516Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81716edb81e2a69fa5347"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        }
    ],
    created_at: ISODate("2025-03-05T09:19:18.458Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81733edb81e2a69fa5348"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:19:47.137Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81784edb81e2a69fa5349"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:21:08.687Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c817d2ff296620bac3a8c3"),
    userId: "1000009",
    messages: [
        {
            role: "user",
            content: "你是deepseek吗？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:22:26.631Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c818d8706a275fe9411eab"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好！你是谁？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:26:48.345Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c818e4706a275fe9411eac"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好！你是谁？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:27:00.03Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81d1e706a275fe9411ead"),
    userId: "你好！你是谁？",
    messages: [
        {
            role: "user"
        }
    ],
    created_at: ISODate("2025-03-05T09:45:02.289Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81de1706a275fe9411eae"),
    userId: "你好！你是谁？",
    messages: [
        {
            role: "user"
        }
    ],
    created_at: ISODate("2025-03-05T09:48:17.66Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81e4e706a275fe9411eaf"),
    messages: [
        {
            role: "user",
            content: "你好！你是谁？"
        }
    ],
    created_at: ISODate("2025-03-05T09:50:06.687Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c81ea3706a275fe9411eb0"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好！你是谁？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-05T09:51:31.996Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67c99cebc6a90241bc56e288"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好，你是谁"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-06T13:02:35.082Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca413e545f182967199ee5"),
    userId: "sbsbsbsbsbsb",
    messages: [
        {
            role: "user",
            content: "数据通路"
        }
    ],
    created_at: ISODate("2025-03-07T00:43:42.27Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca423df55e1724f5040006"),
    userId: "sbsbsbsbsbsb",
    messages: [
        {
            role: "user",
            content: "数据通路"
        }
    ],
    created_at: ISODate("2025-03-07T00:47:57.563Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca42b6e236d25f28410f97"),
    userId: "sbsbsbsbsbsb",
    messages: [
        {
            role: "user",
            content: "数据通路"
        }
    ],
    created_at: ISODate("2025-03-07T00:49:58.889Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca43133e916c13b867ccbd"),
    userId: "sbsbsbsbsbsb",
    messages: [
        {
            role: "user",
            content: "数据通路"
        },
        {
            role: "assistant",
            content: "**数据通路（Data Path）** 是计算机体系结构中的核心概念，指数据在处理器（CPU）内部或系统组件之间流动、处理和存储的路径。它通常与**控制单元**协同工作，共同完成指令的执行。以下是关键要点：\n\n---\n\n### **1. 计算机组成中的数据通路**\n在CPU中，数据通路是实现指令执行的关键硬件结构，主要包括以下组件：\n- **寄存器**：临时存储数据（如通用寄存器、指令寄存器IR、程序计数器PC）。\n- **算术逻辑单元（ALU）**：执行算术运算（如加减）和逻辑操作（如与、或）。\n- **总线（Bus）**：传输数据的物理通道（如数据总线、地址总线）。\n- **多路选择器（MUX）**：选择不同数据源的输入。\n- **存储器接口**：连接CPU与内存（如Cache、RAM）。\n\n**典型指令执行流程**（以加法指令`ADD R1, R2, R3`为例）：\n1. **取指（Fetch）**：从内存读取指令到IR。\n2. **译码（Decode）**：解析指令，确定操作数和操作类型。\n3. **执行（Execute）**：ALU从寄存器R2、R3读取数据并计算。\n4. **写回（Write Back）**：结果写回寄存器R1。\n\n---\n\n### **2. 数据通路的设计类型**\n- **单周期数据通路**：所有指令在一个时钟周期完成，简单但效率低。\n- **多周期数据通路**：指令分多个阶段执行，提高资源利用率。\n- **流水线数据通路**：指令并行处理（如五级流水线），显著提升吞吐量。\n\n---\n\n### **3. 网络通信中的数据通路**\n在计算机网络中，数据通路指数据从源到目的地的传输路径，涉及：\n- **物理介质**：光纤、电缆等。\n- **网络设备**：路由器、交换机、网关。\n- **协议控制**：TCP/IP协议栈处理数据分片、路由选择、流量控制等。\n\n**示例**：网页请求的数据通路可能经过：客户端 → 路由器 → 防火墙 → 服务器。\n\n---\n\n### **4. 数据处理流程中的通路**\n在数据工程中，数据通路指数据从采集到应用的流程，例如：\n- **ETL（抽取、转换、加载）**：数据从源系统经过清洗、转换后存储到数据仓库。\n- **实时流处理**：数据通过Kafka、Flink等系统实时处理并分发。\n\n---\n\n### **5. 重要性**\n- **性能影响**：数据通路的设计直接影响系统速度（如CPU时钟频率、网络带宽）。\n- **能效优化**：减少数据移动距离（如存算一体架构）可降低功耗。\n- **可靠性**：冗余通路（如RAID、网络多路径）提升容错能力。\n\n---\n\n### **总结**\n数据通路是信息处理系统的“血管”，无论是CPU内部、网络传输还是数据处理流程，其设计决定了数据的流动效率与系统整体性能。理解数据通路有助于优化硬件架构、网络拓扑或数据处理逻辑。"
        }
    ],
    created_at: ISODate("2025-03-07T00:51:31.489Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca558f4341de0bbc8a0249"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "你好"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！😊"
        }
    ],
    created_at: ISODate("2025-03-07T02:10:23.94Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca598f4341de0bbc8a024c"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "你好"
        }
    ],
    created_at: ISODate("2025-03-07T02:27:27.137Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca59fd4341de0bbc8a024e"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "你好"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你，有什么我可以帮忙的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！ 😊"
        }
    ],
    created_at: ISODate("2025-03-07T02:29:17.768Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca5aef4341de0bbc8a024f"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "你好"
        },
        {
            role: "assistant",
            content: "你好！很高兴见到你。有什么我可以帮助你的吗？无论是学习、工作还是生活中的问题，都可以告诉我哦！😊"
        }
    ],
    created_at: ISODate("2025-03-07T02:33:19.749Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca5afe4341de0bbc8a0250"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "100个字以内讲一下什么是二叉树"
        },
        {
            role: "assistant",
            content: "二叉树是一种树形数据结构，每个节点最多有两个子节点，称为左子节点和右子节点。顶端为根节点，无子节点的称为叶节点。具有层次结构，常用于高效存储和检索，如二叉搜索树（左子树值小，右子树值大），支持快速查找、插入。递归定义，结构紧凑，常见于算法与数据管理。"
        }
    ],
    created_at: ISODate("2025-03-07T02:33:34.146Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca5b474341de0bbc8a0251"),
    userId: "sbsbsbsb",
    messages: [
        {
            role: "user",
            content: "100个字以内讲一下冒泡排序算法"
        },
        {
            role: "assistant",
            content: "冒泡排序通过重复遍历列表，比较相邻元素，若顺序错误则交换。每次遍历将最大元素移至末尾，需n-1次遍历。时间复杂度O(n²)，稳定排序。优化：若某次遍历无交换可提前终止，最佳时间复杂度O(n)。"
        }
    ],
    created_at: ISODate("2025-03-07T02:34:47.604Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67ca5bf64341de0bbc8a0253"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好你是谁"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-07T02:37:42.228Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);
db.getCollection("deepseek_chat_records").insert([ {
    _id: ObjectId("67e138868975076229b74682"),
    userId: "100009",
    messages: [
        {
            role: "user",
            content: "你好！你是谁？"
        },
        {
            role: "assistant",
            content: "您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。"
        }
    ],
    created_at: ISODate("2025-03-24T10:48:38.279Z"),
    _class: "com.org.oracle.mongodb.entity.DeepSeekChatRecord"
} ]);

// ----------------------------
// Collection structure for draft
// ----------------------------
db.getCollection("draft").drop();
db.createCollection("draft");

// ----------------------------
// Documents of draft
// ----------------------------
db.getCollection("draft").insert([ {
    _id: ObjectId("6761660e77098d75262feed5"),
    circle_id: "1",
    pictures: [
        "https://gitee.com/shiheiyea/heiye-figure-bed/raw/master/8e6dc43c4369438dbbbdea87505be0e7.jpg"
    ],
    title: "GDRD-039",
    word: "车牌号",
    uid: "1000003",
    topicId: "54",
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1s11aa",
    pictures: [
        "http://example.com/image1.jpg",
        "http://example.com/image2.jpg"
    ],
    title: "这是一个笔记标题",
    word: "<p>这是笔记的内容，可以包含富文本格式。</p>",
    uid: "1000001",
    topicId: "topic012",
    create_time: ISODate("2024-08-15T06:12:00.000Z"),
    update_time: ISODate("2024-08-15T06:12:00.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1s11af3",
    pictures: [
        "http://example.com/image1.jpg",
        "http://example.com/image2.jpg"
    ],
    title: "这是一个笔记标题",
    word: "<p>这是笔记的内容，可以包含富文本格式。</p>",
    uid: "1000001",
    topicId: "topic012",
    create_time: ISODate("2024-08-15T06:12:00.000Z"),
    update_time: ISODate("2024-08-15T06:12:00.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735206669816dvtJDE",
    title: "aaa",
    word: "aaaaaaa",
    uid: "1000003",
    topicId: "54",
    create_time: ISODate("2024-12-26T09:51:09.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735298745633dAce0N",
    title: "a'a'a",
    word: "反反复复",
    uid: "1000003",
    topicId: "1",
    create_time: ISODate("2024-12-27T11:25:45.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735299173064Rk3J5W",
    title: "对对对",
    word: "孤寡孤寡",
    uid: "1000003",
    topicId: "1",
    create_time: ISODate("2024-12-27T11:32:53.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735299498601tsXb3A",
    title: "aaaa",
    word: "飞飞飞飞飞",
    uid: "1000003",
    topicId: "1",
    create_time: ISODate("2024-12-27T11:38:18.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735299907805g0sidD",
    title: "啊啊啊",
    word: "孤寡孤寡",
    uid: "1000003",
    topicId: "1",
    create_time: ISODate("2024-12-27T11:45:07.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1735377466567w1BDx1",
    title: "啊啊啊啊",
    word: "发发发发发发发发发发$哈哈哈哈哈宝宝",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2024-12-28T09:17:46.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1741314982724djRZFb",
    pictures: [
        null
    ],
    title: "zzzz",
    word: "zzzzz",
    uid: "1",
    topicId: "2",
    create_time: ISODate("2025-03-07T02:36:22.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1743171746759qX2km1",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "这是我输入的标题",
    word: "这是我的写的笔记\n笔记笔记",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-28T22:22:26.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "1743248182138oFcGcV",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "话题aaaaaaaaaaaaaaaaaaa",
    word: "内容BBBBBBBBBBBBBB",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-29T19:36:22.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("draft").insert([ {
    _id: "17432484355087yCsSw",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "啊的地方",
    word: "滴答滴滴答滴",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-29T19:40:35.000Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);

// ----------------------------
// Collection structure for knowledge_base
// ----------------------------
db.getCollection("knowledge_base").drop();
db.createCollection("knowledge_base");

// ----------------------------
// Documents of knowledge_base
// ----------------------------

// ----------------------------
// Collection structure for members
// ----------------------------
db.getCollection("members").drop();
db.createCollection("members");

// ----------------------------
// Documents of members
// ----------------------------
db.getCollection("members").insert([ {
    _id: "042875571275796",
    circleId: "1",
    uid: "1000001",
    _class: "com.org.oracle.mongodb.entity.Member"
} ]);

// ----------------------------
// Collection structure for note
// ----------------------------
db.getCollection("note").drop();
db.createCollection("note");

// ----------------------------
// Documents of note
// ----------------------------
db.getCollection("note").insert([ {
    _id: "RandomString_1abc",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/a5a66e6d530a83ca7a13e06c577ae3a07ba9f614d2d7-GSCprQ_fw480avif",
        "https://gd-hbimg.huaban.com/a5a66e6d530a83ca7a13e06c577ae3a07ba9f614d2d7-GSCprQ_fw480avif"
    ],
    title: "408计算机组成原理知识点汇总",
    word: "408计算机组成原理知识点汇总\n欢迎小伙伴们加入我的备考之旅！首先计算机组成原理分为指令系统、内存系统、文件系统、IO系统几个部分等等，",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "Ranfaegsf",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/948d4e43ffdb01637ddbe0b0ad5df53fc0d33a1d2e4de-0wvaMb_fw480webp",
        "https://gd-hbimg.huaban.com/948d4e43ffdb01637ddbe0b0ad5df53fc0d33a1d2e4de-0wvaMb_fw480webp"
    ],
    title: "408计算机组成原理知识点汇总",
    word: "总线和输入输出系统是计算机的血脉，它们负责数据的流动和交互，是理解计算机运作的关键。",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "1dxq2wwt6thrgnDWS",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/940e76837b99a64ccb356606342344972e15b14a1dac2-oYt7Fk_fw480webp",
        "https://gd-hbimg.huaban.com/940e76837b99a64ccb356606342344972e15b14a1dac2-oYt7Fk_fw480webp"
    ],
    title: "计组强化|总线相关知识汇总",
    word: "通过计组强化感觉对这门课的恐惧性大大降低了，他其实考的也没有那么难，弄懂架构之后很快就能理出来。唯一不足就是知识点有点多，很容易遗忘，所以需要常常复习",
    uid: "1000001",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "Ra3f4eSt23rfecdabc",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/f584b078abf83c82f4fc737c727702642b4707967ad57-T6r0rn_fw480webp",
        "https://gd-hbimg.huaban.com/f584b078abf83c82f4fc737c727702642b4707967ad57-T6r0rn_fw480webp"
    ],
    title: "计算机组成原理系统总线",
    word: "计算机组成原理系统总线的笔记我总结了这些 大家一起来看看吧",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "g2345rfea",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/fd582985775f353e4809b926182aff6c556bc006ba11a-HCAXb5_fw480webp",
        "https://gd-hbimg.huaban.com/fd582985775f353e4809b926182aff6c556bc006ba11a-HCAXb5_fw480webp"
    ],
    title: "总线和I/O系统就像是计算机的四肢，它们让计算机能够与世界互动。",
    word: "总线和I/O系统就像是计算机的四肢，它们让计算机能够与世界互动。",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "1c2x33454cxvtreds",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/f473ffd75b072aa3a4b317c41f3d6351ca5c0c5520799-kd13lD_fw480webp",
        "https://gd-hbimg.huaban.com/f473ffd75b072aa3a4b317c41f3d6351ca5c0c5520799-kd13lD_fw480webp"
    ],
    title: "主存储器和CPU连接🚀",
    word: "计算机组成原理名词解析",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "123456",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/f473ffd75b072aa3a4b317c41f3d6351ca5c0c5520799-kd13lD_fw480webp",
        "https://gd-hbimg.huaban.com/f473ffd75b072aa3a4b317c41f3d6351ca5c0c5520799-kd13lD_fw480webp"
    ],
    title: "计组 6.1 总线概述",
    word: "计组 6.1 总线概述",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "g324egt3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/86ac25c8e4c9f9cf99e24b7b091e914cfe15bacd1108b-qUehc0_fw480webp"
    ],
    title: "计算机组成原理总线定时通信控制",
    word: "计算机组成原理总线定时通信控制下，中断又应该如何去进行呢？",
    uid: "1000003",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "b456we6gt7ujjj",
    circle_id: "1",
    pictures: [
        "https://sns-webpic-qc.xhscdn.com/202503302254/d9724227694208cdda19d0554ccc2a7b/1040g2sg31aoh4drfngb05o8bgca08nege9brht0!nc_n_webp_mw_1"
    ],
    title: "从不一样的角度去理解总线",
    word: "其实总线就是计算机系统的高速公路，各个部件想要传输信息或控制信号都需要经过他去传播",
    uid: "1000001",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "123",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/ab340d9dc9a5808bf14bafe172a64101a9124c031820d-2ZZNfH_fw480webp"
    ],
    title: "计算机组成原理总线强化总结笔记",
    word: "计算机组成原理总线强化总结笔记",
    uid: "1000002",
    topicId: "66"
} ]);
db.getCollection("note").insert([ {
    _id: "Ranf341dd1abc",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/940e76837b99a64ccb356606342344972e15b14a1dac2-oYt7Fk_fw480webp",
        "https://gd-hbimg.huaban.com/940e76837b99a64ccb356606342344972e15b14a1dac2-oYt7Fk_fw480webp"
    ],
    title: "疯了💥这些专业统统改考计算机408",
    word: "人人都奔着计算机专业毕业后的高工资高就业率去勇敢跨考，但招生人数是固定的❗️越多的人跨考，就意味越多的人跨考失败落榜，这个数字每年高达几十万人！",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "R453dfd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/7bee44314fd6b0f2dff76c05e508e26f2176802893e82-ZPXd5c_fw480webp",
        "https://gd-hbimg.huaban.com/7bee44314fd6b0f2dff76c05e508e26f2176802893e82-ZPXd5c_fw480webp"
    ],
    title: "第一年改考408，会不会爆冷啊？",
    word: "首先，985和前排的211（例如刚刚改考的北京交通大学），不仅仅不会爆冷，反而可能更加炸裂，因为这些院校，很容易受到大佬们的关注，大佬们本来复习的就是408，所以这些学校改考408，对他们来说也是多了一种选择。而且这种学校本身也不在大多数同学的考虑范围内，因此，好学校改考与否，对竞争性并无影响。",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "R4f34DFGGd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/d605231643df14e1d0327e6e277e78ea167c3cc71c012-ouklMP_fw480webp"
    ],
    title: "官宣！改考408的院校汇总！",
    word: "官宣！改考408的院校汇总！",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "R4Dh56Gjjd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/85d541323f6b0abc8cfaf86ddbfa0d6cd88526d88d2f4-8Te1wu_fw480webp"
    ],
    title: "超过120所院校新增改考408！",
    word: "在预报名前会整理成全国所有省份的专业目录供各位考生择校",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "BG6653dfd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/d605231643df14e1d0327e6e277e78ea167c3cc71c012-ouklMP_fw480webp"
    ],
    title: "242所！25考研计算机408院校汇总最终版！",
    word: "242所！25考研计算机408院校汇总最终版！",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "H6632d3dfd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/7bee44314fd6b0f2dff76c05e508e26f2176802893e82-ZPXd5c_fw480webp"
    ],
    title: "25考研改考408的院校盘点！",
    word: "25考研改考408的院校盘点！",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "7v6ytjhfc34evMKd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/05a9a684500ab8c83ffdeb5f614f83d1132645711a7ed-5265OC_fw480webp"
    ],
    title: "寒假回去408 要怎样复习才可以上 120？",
    word: "寒假回去408 要怎样复习才可以上 120？",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "V3erdfd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/05a9a684500ab8c83ffdeb5f614f83d1132645711a7ed-5265OC_fw480webp"
    ],
    title: "上海交大计算机考研408上岸经验贴",
    word: "复试经验也有，机考经验在文末，希望大家都能考上理想院校。",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: "kj678ffd3",
    circle_id: "1",
    pictures: [
        "https://gd-hbimg.huaban.com/14d50532adf90735ec7c2e21f626bb545e9395d24f24e-Lgbn6L_fw480webp"
    ],
    title: "因为淋过雨，给26考研408的同学一点建议",
    word: "因为淋过雨，给26考研408的同学一点建议",
    uid: "1000002",
    topicId: "142"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("676fc23414183f712b7dd394"),
    circle_id: "1",
    title: "啊啊啊啊",
    word: "发发发发发发发发发发$哈哈哈哈哈宝宝",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2024-12-28T09:17:40.271Z"),
    update_time: ISODate("2024-12-28T09:17:40.271Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("67ca565a4341de0bbc8a024b"),
    circle_id: "1",
    pictures: [
        "https://sns-webpic-qc.xhscdn.com/202503302309/dc444661fc3e6bc2d5aa67a037ad090c/1040g2sg3140rnke3hcdg5pf35ul19rj83ts9u40!nc_n_webp_mw_1"
    ],
    title: "aa",
    word: "aaaa",
    uid: "1",
    topicId: "54",
    create_time: ISODate("2025-03-07T02:13:46.343Z"),
    update_time: ISODate("2025-03-07T02:13:46.343Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("67ca5bab4341de0bbc8a0252"),
    circle_id: "1",
    pictures: [
        "https://sns-webpic-qc.xhscdn.com/202503302305/387d319402bfa143faa5d24e876a5265/spectrum/1040g0k031771blcngq005pd6qabi0hb83a2bdgo!nc_n_webp_mw_1"
    ],
    title: "zzzz",
    word: "zzzzz",
    uid: "1",
    topicId: "2",
    create_time: ISODate("2025-03-07T02:36:27.809Z"),
    update_time: ISODate("2025-03-07T02:36:27.809Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("67e6b0cc8975076229b74684"),
    circle_id: "1",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "这是我输入的标题",
    word: "这是我的写的笔记\n笔记笔记",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-28T14:23:08.073Z"),
    update_time: ISODate("2025-03-28T14:23:08.073Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("67e7db398975076229b74685"),
    circle_id: "1",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "话题aaaaaaaaaaaaaaaaaaa",
    word: "内容BBBBBBBBBBBBBB",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-29T11:36:25.545Z"),
    update_time: ISODate("2025-03-29T11:36:25.545Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("67e7dc358975076229b74686"),
    circle_id: "1",
    pictures: [
        "https://img.picui.cn/free/2025/03/28/67e6814885207.png"
    ],
    title: "啊的地方",
    word: "滴答滴滴答滴",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-03-29T11:40:37.949Z"),
    update_time: ISODate("2025-03-29T11:40:37.949Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);
db.getCollection("note").insert([ {
    _id: ObjectId("682d7fc65d77c965d1e90586"),
    circle_id: "1",
    pictures: [
        "https://sfile.chatglm.cn/markmap/0ce5adaa-eec5-4ae1-9f6e-030ed15c0d85.png"
    ],
    title: "你妈",
    word: "沙币",
    uid: "1000003",
    topicId: "66",
    create_time: ISODate("2025-05-21T07:24:54.226Z"),
    update_time: ISODate("2025-05-21T07:24:54.226Z"),
    _class: "com.org.oracle.mongodb.entity.CircleContext"
} ]);

// ----------------------------
// Collection structure for question_comments
// ----------------------------
db.getCollection("question_comments").drop();
db.createCollection("question_comments");

// ----------------------------
// Documents of question_comments
// ----------------------------
db.getCollection("question_comments").insert([ {
    _id: ObjectId("67516e3eaa3944b9ffadbbf8"),
    questionId: "1",
    commentId: "comment001",
    rootCommentId: "-1",
    content: "数据结构开端！",
    replyToUid: "user002",
    replyToCommentId: "",
    createBy: "user001",
    likes: NumberInt("5")
} ]);
db.getCollection("question_comments").insert([ {
    _id: ObjectId("67516e3eaa3944b9ffadbbf9"),
    questionId: "1",
    commentId: "comment002",
    rootCommentId: "67516e3eaa3944b9ffadbbf8",
    content: "一起加油！26考研加油！",
    replyToUid: "user003",
    replyToCommentId: "",
    createBy: "user004",
    likes: NumberInt("2")
} ]);
db.getCollection("question_comments").insert([ {
    _id: ObjectId("67516e3eaa3944b9ffadbbfa"),
    questionId: "1",
    commentId: "comment003",
    rootCommentId: "67516e3eaa3944b9ffadbbf8",
    content: "26考研，共勉！",
    replyToUid: "user001",
    replyToCommentId: "",
    createBy: "user002",
    likes: NumberInt("3")
} ]);
db.getCollection("question_comments").insert([ {
    _id: ObjectId("67516e3eaa3944b9ffadbbfb"),
    questionId: "1",
    commentId: "comment004",
    rootCommentId: "-1",
    content: "408，冲冲冲！",
    replyToUid: "user005",
    replyToCommentId: "",
    createBy: "user003",
    likes: NumberInt("7")
} ]);
db.getCollection("question_comments").insert([ {
    _id: ObjectId("67516e3eaa3944b9ffadbbfc"),
    questionId: "2",
    commentId: "comment005",
    rootCommentId: "-1",
    content: "平芜尽处是春山，追风赶月莫停留！",
    replyToUid: "user004",
    replyToCommentId: "",
    createBy: "user005",
    likes: NumberInt("4")
} ]);

// ----------------------------
// Collection structure for study_points_list
// ----------------------------
db.getCollection("study_points_list").drop();
db.createCollection("study_points_list");

// ----------------------------
// Documents of study_points_list
// ----------------------------
db.getCollection("study_points_list").insert([ {
    _id: ObjectId("66d172fcd2fe207de968445b"),
    circle_id: "1",
    _class: "org.heiye.test.entity.StudyPointsList",
    list: [
        {
            uid: "1000001",
            week_points: NumberInt("0"),
            month_points: NumberInt("0"),
            sum_points: NumberInt("862"),
            address: "广州市"
        }
    ]
} ]);

// ----------------------------
// Collection structure for user
// ----------------------------
db.getCollection("user").drop();
db.createCollection("user");

// ----------------------------
// Documents of user
// ----------------------------
db.getCollection("user").insert([ {
    _id: ObjectId("6708e4a9f81d1917b57bfa6c"),
    uid: "1000001",
    openid: "123456",
    _class: "com.org.oracle.mongodb.entity.User",
    address: "广东省",
    avatar: "https://gitee.com/shiheiyea/heiye-figure-bed/raw/master/13aee0ba5a2b4307ba16e8d4f2120cab.jpg",
    name: "黑夜",
    status: 0,
    createTime: ISODate("2024-12-03T08:19:03.98Z"),
    updateTime: ISODate("2024-12-06T17:34:45.579Z"),
    password: "$2a$10$gyoT/Wu0p2r.EtIoRSh0VeX.dgE63Te5ageYyHQsF8mv0W9AYm736",
    update_time: ISODate("2024-12-09T08:43:57.703Z"),
    email: "2759688992@qq.com",
    introduction: "反派角色",
    sex: NumberInt("1"),
    birthday: ISODate("2024-12-01T16:00:00.000Z")
} ]);
db.getCollection("user").insert([ {
    _id: ObjectId("674ebef80cd0d17f2e314b86"),
    uid: "1000002",
    name: "白鸽",
    email: "shiheiyea@qq.com",
    password: "$2a$10$e2iiDy5Gel6qSiEgertQ6eCM8WIldg6C0f/FhJsm7wdvMAJ4wkVjS",
    status: NumberInt("0"),
    createTime: ISODate("2024-12-03T08:19:03.98Z"),
    updateTime: ISODate("2024-12-03T08:19:03.98Z"),
    _class: "com.org.oracle.mongodb.entity.User",
    update_time: ISODate("2024-12-06T12:31:29.973Z"),
    birthday: null
} ]);
db.getCollection("user").insert([ {
    _id: ObjectId("6756971b1fb7680c8ae1ab15"),
    uid: "1000003",
    name: "Chao",
    email: "2372558841@qq.com",
    password: "$2a$10$t.n0Se3yLtE8M6y8tWk/M..iatiFiBbPpmcgzSEqMRynI8L9zDbDW",
    status: NumberInt("0"),
    create_time: ISODate("2024-12-09T07:07:07.599Z"),
    update_time: ISODate("2025-05-21T07:20:44.556Z"),
    _class: "com.org.oracle.mongodb.entity.User",
    avatar: "https://gitee.com/shiheiyea/heiye-figure-bed/raw/master/2b4f8a9f67334828aee1c26961b0cb0a-compressed.jpg",
    birthday: ISODate("2004-11-11T00:00:00.000Z"),
    introduction: "nihao,我是chaos"
} ]);
db.getCollection("user").insert([ {
    _id: ObjectId("67c94f2739c8532d56c3aa82"),
    uid: "1",
    name: "haihai",
    email: "18048748106@163.com",
    password: "$2a$10$PDcgdGfaN3QaeZpS0IwQounDCfCDDz6XM1nwIb/pJaWmSetn3Rs12",
    status: NumberInt("0"),
    create_time: ISODate("2025-03-06T07:30:47.899Z"),
    update_time: ISODate("2025-05-21T07:32:41.317Z"),
    _class: "com.org.oracle.mongodb.entity.User",
    avatar: "https://gitee.com/shiheiyea/heiye-figure-bed/raw/master/18b34ad9a9154c70b6e42183aabd9d06-compressed.jpg",
    introduction: "本人很懒，没有留下什么东西",
    birthday: ISODate("2002-05-01T00:00:00.000Z")
} ]);
db.getCollection("user").insert([ {
    _id: ObjectId("67e3a0d78975076229b74683"),
    uid: "1",
    name: "konliu",
    email: "564621694@qq.com",
    password: "$2a$10$m2PT4Q9cP2adpufEYSesHOCTCPSWVy31Rmqcng/eX/U3SgIYcrR4m",
    status: NumberInt("0"),
    create_time: ISODate("2025-03-26T06:38:15.898Z"),
    update_time: ISODate("2025-03-26T06:38:15.898Z"),
    _class: "com.org.oracle.mongodb.entity.User",
    avatar: "https://gd-hbimg.huaban.com/984effa647369754f39c5100d06360fed33d908d48b4f-7qPA2E_fw480avif"
} ]);
db.getCollection("user").insert([ {
    _id: ObjectId("682d80f25d77c965d1e90587"),
    uid: "1",
    name: "haihai",
    email: "1690733669@qq.com",
    password: "$2a$10$HJ8nIxppLsd9WODy2nGH6.BydkC00P.4e2IYO/sk0O5lwtcanF0bi",
    status: NumberInt("0"),
    create_time: ISODate("2025-05-21T07:29:54.027Z"),
    update_time: ISODate("2025-05-21T07:29:54.027Z"),
    _class: "com.org.oracle.mongodb.entity.User"
} ]);
